import { Switch } from 'antd';

<Switch
    className="switch-name"
    checkedChildren="开"
    unCheckedChildren="关"
    loading={true}
    defaultChecked
    onChange={(value) => {

    }}
/>
